#!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Time    : 2017/3/17 16:43
# @Author  : 柳晓飞
# @Site    : 
# @File    : protocal.py
# @Software: PyCharm
gameServerProtocal = 0
gameProto = 100

#游戏服务器协议
protocalID = gameServerProtocal
createTable =  protocalID + 1 #创建牌桌
enterTable = protocalID + 2   #进入牌桌
tableInfo = protocalID + 3 #获取牌桌信息
ready = protocalID + 4 #准备
deal = protocalID + 5 #发牌
notifyUpdateData = protocalID + 6 #通知更新数据
operate = protocalID + 7#操作牌
notifyOperate = protocalID + 8#通知操作牌
notifyOperateRes = protocalID + 9#操作结果
tick = protocalID + 11#每秒一次通讯
login = protocalID + 12

notifyInOutTable = protocalID + 14#通知进入离开牌桌
notifyResult = protocalID + 15#结算
#游戏大厅协议
protocalID = gameProto


